package com.icinfo.cloud.provider.punish.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description 查询案由违法次数
 * @Author zhengqiang
 * @Date 2022/6/16 15:39
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CaseReasonQueryDto {
    /**
     * 案由编码
     */
    @NotEmpty(message = "案由编码不能为空")
    private String caseReasonCode;
    /**
     * 当事人证件号码
     */
    @NotEmpty(message = "当事人证件不能为空")
    private String partyIdentityCode;

    /**
     * 统计年数
     */
    private Integer countYear;

    /**
     * 后台使用
     */
    private String countYearParam;
}
